package com.cloudpan.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.cloudpan.entity.bo.*;
import com.cloudpan.entity.pojo.SysUserInfo;
import com.cloudpan.entity.vo.SysUserInfoVo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpSession;

/**
 * <p>
 * 用户信息表 服务类
 * </p>
 *
 * @author sc
 * @since 2023-10-28
 */
public interface SysUserInfoService extends IService<SysUserInfo> {

    Boolean register(SysUserInfoBo condition, HttpSession session);

    Boolean smspush(String phone);

    Boolean updatePwd(SysUserChangePwdBo pwdDto, HttpSession session);

    Boolean selectByCodition(SysUserInfoBo condition);

    SysUserInfoVo login(SysUserPasswordLoginBo condition, HttpSession session);

    SysUserInfoVo smslogin(SysUserSMSInfoBo cpUserSMSInfo);

    Boolean userSpace(SysUserSpaceBo userSpaceBo);

    String uploadPhoto(MultipartFile file, String userId);
}
